//引用 bootstrap.css
import "../libs/bootstrap/dist/css/bootstrap.min.css";
//引用 app.css
import "../css/app.css";
//引用jquery
import $ from "jquery";
window.$ = $
window.jQuery = $
// require('expose-loader?$!expose-loader?jQuery!jquery');
import "../libs/jqueryFormJs/jquery.jquery.form";
require("../libs/bootstrap/dist/js/bootstrap.min") 
//引用 angularJs
import angular from "angular";
//引用 路由
// import uiRouter from "angular-ui-router";
import "../libs/angular-ui-router-0.4.2"
//引用 ui-select 插件
import uiSelect from "ui-select";
//引用 路由模块
import router from "./router"
//引用 run模块
import run from "./run"
//引用 自定义的ajax服务
import service from "./ajax"
//引用 main模块
import main from "./main";
//引用 home模块
import home from "./home";
import select from "./select"
//引用 左侧导航栏 模块
import leftMenu from "./directiveLeftMenu"
//引用 左侧导航栏 模块
import header from "./directiveHeader"
import student from "./studentManage/student"

import student_transaction from "./studentManage/student_transaction_manager"

import Student_Record from "./statisticalReports/Student_Record"
                           
import admin_Record from "./statisticalReports/admin_Record"

import "../libs/uiBootstrap/ui-bootstrap-tpls-1.3.0.min"
//定义模块
angular.module("app",['ui.router',uiSelect,'ui.bootstrap'])
//设置 项目路由
// angular.module("app",[uiRouter])
.config(router)
.run(run)
//main  控制器
.controller("main",main)
//home 控制器
.controller("home",home)
.controller("select",select)
.controller("student",student)

.controller("student_transaction_manager",student_transaction)

.controller("Student_Record",Student_Record)
.controller("admin_Record",admin_Record)

//左侧导航栏 指令
.directive("leftMenuDirective",leftMenu)
.directive("headerDirective",header)
.service("service",service)